cd /home/figaro/myriscv/rtl
#cp /home/figaro/myriscv/rtl/tb/arch-test/defines.v /home/figaro/myriscv/rtl/core/
#cp /home/figaro/myriscv/rtl/tb/arch-test/l2cache.v /home/figaro/myriscv/rtl/core/
#cp /home/figaro/myriscv/rtl/tb/arch-test/myriscv_tb.v /home/figaro/myriscv/rtl/tb/
sed -i 's/\.\/core/\/home\/figaro\/myriscv\/rtl\/core/g' *.v
cd tb
sed -i 's/\.\./\/home\/figaro\/myriscv\/rtl/g' *.v
cd ../perips
sed -i 's/\.\./\/home\/figaro\/myriscv\/rtl/g' *.v
sed -i 's/axi_defines/\/home\/figaro\/myriscv\/rtl\/perips\/axi_defines/g' *.v
cd ../core
sed -i 's/\.\./\/home\/figaro\/myriscv\/rtl/g' *.v
sed -i 's/defines/\/home\/figaro\/myriscv\/rtl\/core\/defines/g' *.v
sed -i 's/\/home\/figaro\/myriscv\/rtl\/perips\/axi_\/home\/figaro\/myriscv\/rtl\/core\/defines/\/home\/figaro\/myriscv\/rtl\/perips\/axi_defines/g' *.v
cd ../perips

